package com.ibm.risk.irmp.rule.client.conf;


import com.ibm.risk.irmp.rule.client.RuleEngineServiceClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.service.invoker.HttpServiceProxyFactory;

@Configuration
public class RuleClientConfig extends AbstractRuleClientConfig {

    @Bean
    public RuleEngineServiceClient ruleServiceClient() {
        HttpServiceProxyFactory factory = getHttpServiceProxyFactory();
        return factory.createClient(RuleEngineServiceClient.class);
    }

}
